<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" :title="mixinEdit_editTitle" width="500px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">
            <el-form-item label="品牌名称" prop="name">
                <el-input v-model="form.name" maxlength="20" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="品牌别名" prop="alias">
                <el-input v-model="form.alias" maxlength="20" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="品牌logo" prop="logo">
                <SelectImageRadio :appWindow="appWindow" v-model="form.logo" ></SelectImageRadio>
            </el-form-item>
            <el-form-item label="品牌首字母" prop="firstLetter">
                <el-input v-model="form.firstLetter" maxlength="20" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="是否隐藏" prop="isHide">
                <el-radio-group v-model="form.isHide">
                    <el-radio :label="0">显示</el-radio>
                    <el-radio :label="1">隐藏</el-radio>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="是否热门" prop="isStars">
                <el-radio-group v-model="form.isStars">
                    <el-radio :label="0">否</el-radio>
                    <el-radio :label="1">是</el-radio>
                </el-radio-group>
            </el-form-item>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="12" style="text-align: left;">
                <el-button :disabled="mixinEdit_loading" @click="mixinEdit_resetForm('editForm')">重 置</el-button>
            </el-col>
            <el-col :span="12">
                <el-button :disabled="mixinEdit_loading" @click="mixinEdit_editBoxClose('editForm')">取 消</el-button>
                <el-button :disabled="mixinEdit_loading" type="primary" @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})">确
                    定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>